﻿using System.Collections.Generic;
using System.Collections.Specialized;

namespace noveldown
{
    /// <summary>
    ///  小说类
    /// </summary>
    public class ClsNovel
    {
        public ClsNovel(){}


        /// <summary>
        ///  小说名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        ///  作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        ///  简介
        /// </summary>
        public string Intro { get; set; }

        /// <summary>
        /// 全部章节
        /// </summary>
        public List<Chapter> Chapters { get; set; }    





    }

    /// <summary>
    ///  章节类
    /// </summary>
    public class Chapter
    {
        public Chapter()
        {
        }

        /// <summary>
        ///   章节名称（含序号）
        /// </summary>
        public string Title { get; set; }

        public string Content { get; set; }
        public int Serial { get; set; }
        public string TitleName { get; set; }

        public string Uri { get; set; }

   
        public string ComboTitle => "第" + Serial.ToString("000") + "章  " + TitleName;

    }

}